package com.bysj.lms.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaojiakai
 * @since 2022-04-15
 */
@Getter
@Setter
@TableName("lms_check")
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel("检查模型")
public class LmsCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    
    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("检查id")
    private String id;
    @ApiModelProperty("检查类型")
    private String type;
    
    @ApiModelProperty("设备编号")
    private String instruNumber;

    @ApiModelProperty("设备名")
    private String instruName;
    
    @ApiModelProperty("设备类型")
    private String instruType;

    @ApiModelProperty("实验室id")
    private String roomId;
    
    @ApiModelProperty("检查人id")
    private String checkerId;

    @ApiModelProperty("检查人姓名")
    private String checkerName;

    @ApiModelProperty("检查报告")
    private String checkReport;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    
    @ApiModelProperty("检查时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;

    @ApiModelProperty("检查状态，0未检查，1已检查")
    private String status;
}
